﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataAccessLayer.DataInterfaces
{
    public interface ILoi
    {
        IEnumerable<Loi> GetAllLoi();
        Loi GetLoiById(int Id);
        Loi GetLastRecord();
        bool UpdateLoi(Loi Loi);
        bool InsertLoi(Loi Loi);
        bool DelLoi(int Id);
        bool DelLoi(Loi Loi);
    }
}
